.<template>
  <div>
    <comment :comment="item" v-for="(item,index) of commentsList" :key="index"></comment>
  </div>
</template>

<script>
import { Toast } from "vant";
import comment from "../components/comment/comment";
export default {
  data() {
    return {
      commentsList: [
        {
          comment: "从前有一座山1"
        },
        {
          comment: "股东2020年2月21日11:23:52"
        },
        {
          comment: "山里有座庙2",
          parent: {
            comment: "从前有一座山1"
          }
        },
        {
          comment: "无关人士走开"
        },
        {
          comment: "庙里有个和尚3",
          parent: {
            comment: "山里有座庙2",
            parent: {
              comment: "从前有一座山1"
            }
          }
        },
        {
          comment: "祖安文曲星6666"
        },
        {
          comment: "和尚在逼逼赖赖4",
          parent: {
            comment: "庙里有个和尚3",
            parent: {
              comment: "山里有座庙2",
              parent: {
                comment: "从前有一座山1"
              }
            }
          }
        }
      ]
    };
  },
  components: {
    comment
  },
  mounted() {}
};
</script>

<style>
</style>